package com.chushouya.order.dto.admin.action;

import com.chushouya.order.constants.KefuOrderActionEnum;
import com.chushouya.product.dto.api.evaluate.EvaluateResultItemApiDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

@Data
@ApiModel("质检订单")
public class OrderQualityAction  extends KefuBaseAction {
    public OrderQualityAction() {
        super.setOrderAction(KefuOrderActionEnum.QUALITY);
    }
    @ApiModelProperty("订单id")
    @NotNull(message = "订单id不能为空")
    private Long orderId;

    @ApiModelProperty("操作备注")
    private String actionNote;

    @ApiModelProperty("质检价格" )
    @NotNull(message = "质检价格不能为空")
    private BigDecimal qualityPrice;

    @ApiModelProperty("机型Id")
    private Long productId;

    @ApiModelProperty("质检选项")
    private List<EvaluateResultItemApiDTO> qualityOption;

    @ApiModelProperty("设备meid")
    private String meid;
}
